<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@ page import="com.google.code.jsplite.Jsplite"%>
<% Jsplite.inherits("com.google.code.soumi.web.IndexAction", request, response); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>搜密网</title>
<link href="WEB-RES/css/index.css" rel="stylesheet" type="text/css" />
<script src="WEB-RES/js/jquery.js" type="text/javascript"></script>
<script src="WEB-RES/js/index.js" type="text/javascript"></script>
</head>
<body>
	<div class="IndexHeader">
		<div class="Header rp">
			<div class="Logo ap">
				<a href="#"></a>
			</div>
			<div class="NumberPlate ap">
				<div id="digits" class="Digits tb">
					<div class="td Digit"><p class="d${num[0]}" ></p></div><div class="td Digit"><p class="d${num[1]}" ></p></div><div class="td Digit"><p class="d${num[2]}" ></p></div>
					<div class="td Separator"></div>
					<div class="td Digit"><p class="d${num[3]}" ></p></div><div class="td Digit"><p class="d${num[4]}" ></p></div><div class="td Digit"><p class="d${num[5]}" ></p></div>
					<div class="td Separator"></div>
					<div class="td Digit"><p class="d${num[6]}" ></p></div><div class="td Digit"><p class="d${num[7]}" ></p></div><div class="td Digit"><p class="d${num[8]}" ></p></div>
				</div>
			</div>
		</div>
	</div>
	<div class="QueryContent rp w960">
		<div class="Form tb">
			<div id="emotion" class="td Emotion">
				<div class="${emotion}"></div>
			</div>
			<div class="td Query">
				<div class="QueryHeader tb">
					<div class="Title td"></div>
					<div class="HitRate td alignRight">
						<span>命中率: </span> <span class="HitRateDisplay"
							id="hitRateDisplay">${hitRate}%</span>
					</div>
				</div>
				<div class="Form">
					<form id="form1">
						<input type="text" id="key" name="key" class="text InternalTipAdded" value="${key}">
						<input type="submit" value="" class="submit clickable">
					</form>
				</div>
			</div>
		</div>		
		<c:if test="${fn:length(list)>0}"> 
			<table id="resultFound" class="Result Found invisible" style="display: block;">
			<c:forEach var="user" items="${list}">
				<tr class="Item tb">
					<td class="td cropped Website">来源：${user.website}</td>
					<td class="td cropped Username">用户名：${user.username}</td>
					<td class="td cropped Password">密码：${user.password}</td>
					<td class="td cropped Email">邮箱：${user.email}</td>
				</tr>
			</c:forEach>
			</table>
		</c:if> 		
	</div>
	<br /><br /><br />
</body>
</html>